package com.itheima.ydd.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

//系统设置视图类
@Data
public class ConfigVo implements Serializable {

    private static final long serialVersionUID = 11L;

    //引入的组件名称
    private String key;

    //配置名称
    private String name;

    //子集集合
    private List<ConfigChildren> children=new ArrayList<>();

    public void addChildren(ConfigChildren children){
        this.children.add(children);
    }

}
